﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AutoMapper;
using ClientManager.Model;
using ClientManager.Web.Models;

namespace ClientManager.Web.Mappings
{
    public class DomainModelToViewModelMappingProfile : Profile
    {
        public override string ProfileName
        {
            get { return "DomainToViewModelMappings"; }
        }

        protected override void Configure()
        {
            Mapper.CreateMap<Client, ClientViewModel>();
            Mapper.CreateMap<ServiceLevel, ServiceLevelViewModel>();
        }
    }
}